package cz.semjobKB.search.impl;

import cz.semjobKB.search.api.IRulesSet;
import cz.semjobKB.search.api.ISearchRules;

public class SearchRules implements ISearchRules {

	IRulesSet predicateRule;
	IRulesSet subjectRule;
	IRulesSet objectRule;
	IRulesSet terminologyRule;
	
	public SearchRules () {	};
	
	public SearchRules (IRulesSet predRule, IRulesSet subRule, IRulesSet objRule, IRulesSet termRule) {
		this.predicateRule = predRule;
		this.subjectRule = subRule;
		this.objectRule = objRule;
		this.terminologyRule = termRule;
	}
	
	
	
	public void setSubjectRule(IRulesSet rules) {
		this.subjectRule = rules;

	}

	
	public void setObjectRule(IRulesSet rules) {
		this.objectRule = rules;

	}

	
	public void setPredicateRule(IRulesSet rules) {
		this.predicateRule = rules;

	}

	
	public void setTerminologyRule(IRulesSet rules) {
		this.terminologyRule = rules;

	}

	
	public IRulesSet getSubjectRule() {
		return subjectRule;
	}

	
	public IRulesSet getObjectRule() {
		return objectRule;
	}

	
	public IRulesSet getPredicateRule() {
		return predicateRule;
	}

	
	public IRulesSet getTerminologyRule() {
		return terminologyRule;
	}

}
